#ifndef player_H_
#define player_H_
#include "enums.h"
#include "card.h"
#include "hand.h"
#include <vector>
#include <string>

extern std::string suitString[4];
extern std::string rankString[13];

using std::vector;

class player{

private:
	vector<card> cards;
	vector<card> fiveCards;
	vector<card> sixCards;
	vector<card> sevenCards;
	hand playerHand;
	int playerNumber;

public:
	player(){
		playerNumber=playerCounter;
		++playerCounter;
	}
	vector<card> getCards();
	vector<card> getFiveCards();
	hand getHand();
	void setCard(card playerCard);
	void flopHand(const vector<card>& groundCards);
	void turnHand(card groundCard);
	void riverHand(card groundCard);
	std::string getPlayerHandName();
	int getPlayerToCompArr(int n) const;
	int getPlayerNumber() const;
	friend bool playerSort(const player& left,const player& right);
	static int playerCounter;
};


#endif